/*
 *  Clase para hacer definir modelos usados por los Store's
 *  *************************************************************************************************************************
 **/

function Model(cfg){
    this.definition = cfg;
    var _this = this;
    this._init = function(){
        $.each(this.definition,function(index,value){
            _this[index] =value;
        });
    };
    this.get = function(index){
        var res = '';
        return this.definition[index];
    }
    this.set = function(val){
        return;
    }
    return this;
}
function getUniqueId(){
    return Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17) + Math.random() * Math.pow(10, 17);
}